<!doctype html>
<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8"
         language="java" %>
<%@ include file="/jsp/mobile/include/include.jsp" %>
<html lang="cn">
<head>
    <%@ include file="/jsp/mobile/include/header.jsp" %>
    <title>选择无卡收款方式</title>
</head>
<link rel="stylesheet" href="<%=request.getContextPath()%>/style/mobile/styleForPay.css"/>
<body class="nobg">
<!-- <div class="head">
	<div class="auto">
    	<span class="tit">选择收款方式</span>
        <a class="return">
            <i class="icov icov1"></i>
            返回
        </a>
    </div>
</div> -->
<div class="main">
	<!-- <p class="p10 f16">支付方式</p> -->
    <div class="payLit">
        <dl class="clearfix">
            <dt><img src="<%=request.getContextPath()%>/images/mobile/nocard-mobao.png"></dt>
            <dd>
                <p class="ti">银联支付</p>
                <p class="ci">手续费0.5%，支持大额支付</p>
                <i id="mbPayType" class="icov icov14" onClick="javascript:setPayType('mb');"></i>
            </dd>
        </dl>
    	<dl class="clearfix">
        	<dt><img src="<%=request.getContextPath()%>/images/mobile/ybzf.png"></dt>
            <dd>
            	<p class="ti">易宝支付</p>
            	<p class="ci">手续费0.5%，支持大额支付</p>
                <i id="ybPayType" class="icov icov14" onClick="javascript:setPayType('yb');"></i>
            </dd>
        </dl>
        <%--<dl class="clearfix">
        	<dt><img src="<%=request.getContextPath()%>/images/mobile/jdzf.png"></dt>
            <dd>
            	<p class="ti">京东支付</p>
            	<p class="ci">手续费0.5%，支持大额支付</p>
                <i id="jdPayType" class="icov icov14" onClick="javascript:setPayType('jd');"></i>
            </dd>
        </dl>--%>

        <form action="<%=request.getContextPath()%>/mobile/index/noCardForPayType" method="post" id="noCardForm">
			<input type="hidden" name="incomeAmt" value="${nocardIncomeDomain.incomeAmt}"><br />
			<input type="hidden" name="incomeCardNo" value="${nocardIncomeDomain.incomeCardNo}"><br />
			<input type="hidden" name="payType" id="payType" value="mb"><br />
        </form>
    </div>
</div>
<div class="sPay">
	<ul class="clearfix">
    	<li class="ya"><span>收款金额：<i class="red">￥<fmt:formatNumber pattern="0.00" value="${nocardIncomeDomain.incomeAmt}"/></i></span></li>

        <li class="yb"><a href="javascript:noCardPay()">支付</a></li>
    </ul>
</div>

</body>

<script type="text/javascript">
    setPayType($("#payType").val());
    function setPayType(payType){
        $("#payType").val(payType);
        if(payType == 'yb'){
            $("#ybPayType").attr("class","icov icov15");
            $("#jdPayType").attr("class","icov icov14");
            $("#mbPayType").attr("class","icov icov14");
        }else if(payType == 'jd'){
            $("#ybPayType").attr("class","icov icov14");
            $("#jdPayType").attr("class","icov icov15");
            $("#mbPayType").attr("class","icov icov14");
        }else if (payType == 'mb'){
            $("#ybPayType").attr("class","icov icov14");
            $("#jdPayType").attr("class","icov icov14");
            $("#mbPayType").attr("class","icov icov15");
        }
    }
    function noCardPay(){
        document.getElementById("noCardForm").submit();
    }
</script>

</html>